package com.kgc.crowd.distributioncrowddatabaseprovider.service.impl;

import com.kgc.crowd.distributioncrowdcommon.pojo.Order;
import com.kgc.crowd.distributioncrowddatabaseprovider.mapper.OrderMapper;
import com.kgc.crowd.distributioncrowddatabaseprovider.service.OrderService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
@Transactional(readOnly = true)
@Service
public class OrderServiceImpl implements OrderService {
    @Resource
    OrderMapper orderMapper;
    @Override
    public List<Order> selectOrderAndProject(Integer id) {
        return orderMapper.selectOrderAndProject(id);
    }
}
